﻿using System;
using System.Net;

using Newtonsoft.Json;
using System.Collections.Generic;

namespace Tulde.Windows.Music.ViewModel
{
    [JsonObject()]
    public class ArtistCollection : ViewModelCollection, ICacheable
    {
        [JsonProperty("artistList")]
        public List<Artist> Artists { get; set; }

        public bool ShouldCache
        {
            get
            {
                return this.Summary.TotalResults > 0;
            }

        }

    }
}
